package com.cskaoyan.service;

import com.cskaoyan.bean.MarketTopic;
import com.cskaoyan.bean.MarketTopicGoods;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

import java.util.Map;

/***
 * title AdminTopicService
 * @description <TODO description class purpose>
 * @author ZCZ
 * @version 1.0.0
 * @create 2022/9/11 12:05
 **/
public interface AdminTopicService {
    CommonData<MarketTopic> list(BasePageInfo info, String title, String subtitle);

    MarketTopic create(MarketTopic marketTopic);

    void delete(Integer id);

    MarketTopic update(MarketTopic marketTopic);

    MarketTopicGoods read(int id);

    void batchDelete(Map<String,Integer[]> map);
}
